<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://uicdn.toast.com/editor/latest/toastui-editor-viewer.min.css"/>

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css"/>

</head>
<body>

<div id="viewer">
    <strong>The example code can be slower than your environment because the code is transpiled by
        babel-standalone in runtime.</strong>
</div>

<script src="js/chat-default.js"></script>
<script src="https://uicdn.toast.com/editor/latest/toastui-editor-viewer.js"></script>
<script src="https://uicdn.toast.com/editor-plugin-code-syntax-highlight/1.0.0/toastui-editor-plugin-code-syntax-highlight-all.min.js"></script>
<script>

    const Editor = toastui.Editor;
    const {codeSyntaxHighlight} = Editor.plugin;

    const viewer = new toastui.Editor({
        el: document.querySelector('#viewer'),
        initialValue: codeContent,
        plugins: [codeSyntaxHighlight]
    });

</script>
</body>

</html>
